Hardware modeling of LED relative brightness

ABSTRACT

Via simple electronic circuitry, an analog voltage that tracks the LED light output is produced. This analog voltage is read by an A/D converter to ascertain an approximate relative light output of the LED so that light output compensation can be quickly calculated. A resistor-capacitor circuit is used to approximate the behavior of the LED light output. The output voltage from this circuit is sampled and used along with a sensed ambient temperature to adjust the exposure time of an image capture system.

CROSS REFERENCE TO RELATED APPLICATIONS

A related copending United States patent applications commonly owned by the assignee of the present document and incorporated by reference in its entirety into this document is being filed in the United States Patent and Trademark Office on or about the same day as the present application. This related application is Ser. No. 10/684,017, and is titled “SOFTWARE DETERMINATION OF LED BRIGHTNESS AND EXPOSURE.”

FIELD OF THE INVENTION

The invention relates generally to precision control of an exposure and more particularly to modeling the light output of a light emitting diode (LED) to maintain a constant exposure as the light output of an array of LED's changes.

BACKGROUND OF THE INVENTION

High quality image capture such, as grayscale and color imaging, needs a precision light source. Because of their size, price, reliability, and other qualities, light emitting diodes (LED's) may be chosen as the light source for image capture. Unfortunately, the light output of an LED changes with junction temperature and age. Because LED's heat up when they are on, one of the factors that determines the junction temperature of an LED, and hence its light output, is the amount of time, and duty cycle that the LED is on. One way to compensate for at least part of this variation is to use a light calibration strip. A light calibration strip may be used with a search algorithm to set the illumination levels prior to image capture. A disadvantage of this method is that part of the image capture array is used to sense the calibration strip. This decreases the width or area that is captured at any given moment. Another disadvantage is that this method does not account for changes in the junction temperature during image capture.

Accordingly, there is a need in the art for an illumination compensation method and apparatus that does not utilize a light calibration strip.

SUMMARY OF THE INVENTION

An embodiment of the invention provides, via simple electronic circuitry, an analog voltage that tracks the LED light output. This analog voltage is read to ascertain an approximate relative light output of the LED so that an exposure compensation can be quickly calculated. Since the analog voltage is generated via simple electronic circuitry, it is inexpensive to implement and does not require the calculation of difficult exponential equations that would require a relatively long time to calculate on an associated processor. In the preferred embodiment, a resistor-capacitor circuit is used to approximate the behavior of the LED light output. The output voltage from this circuit is sampled and used along with a sensed ambient temperature to adjust the capture exposure.

Other aspects and advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a capture exposure system.

FIG. 2 is a schematic diagram of an RC circuit that may be used to model LED relative light output.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 is a block diagram of a capture exposure system 100. Central processing unit (CPU) 110 sends illumination control signal 116 to LED driver 112 and LED model 102. LED driver 112 is coupled to LED array 114. LED array 114 provides illumination for capturing an image. LED model provides analog voltage 118 that tracks the light output of the LED's in LED array 114. Analog voltage 118 is input to analog-to-digital converter (A/D converter) 104. The output of A/D converter 104 is read by CPU 110. This capture exposure system also has an ambient temperature sensor 106. The output of ambient temperature sensor 106 is read by A/D converter 104 and passed to CPU 110. CPU 110 uses these two values to calculate an exposure time for an image capture.

The light output of an LED can be described with the following equation using an experimentally derived figure-of-merit T₀: $\begin{matrix} {{{RLOP}(T)} \equiv {\mathbb{e}}^{\lbrack\frac{- {({T - T_{c}})}}{T_{0}}\rbrack}} & {{Equation}\mspace{14mu} 1} \end{matrix}$

-   -   where RLOP(T) is the relative light output when the p-n junction         is at temperature T. T_(c) is the reference temperature that the         relative light output is reference to. In other words,         RLOP(T_(c))=1. T₀ is determined by measuring the relative light         output at numerous junction temperatures and then applying an         exponential fit to determine the T₀ for that particular device.         The above equation describes relative light output in terms of         the p-n junction temperature. Unfortunately, this temperature         depends on a number of other factors including the ambient         temperature, the on-off history of the LED, the forward voltage,         forward current, LED efficiency, and the thermal time constant         of the LED. The on-off history of the LED is particularly         important because it determines the starting temperature of the         LED each time it is turned on or turned off. When an LED is on,         the junction temperature follows a heating curve that resembles:         $\begin{matrix}         {T_{j} = {{\left( {T_{\infty} - T_{on}} \right)\left\lbrack {1 - {\mathbb{e}}^{\frac{- t}{\tau}}} \right\rbrack} + T_{on}}} & {{Equation}\mspace{14mu} 2}         \end{matrix}$     -   where T_(on) is the starting temperature of the junction when         the LED is turned on, T_(∞) is the steady-state junction         temperature that the junction would reach after the LED is on a         long time and T is the thermal time constant of the LED. When an         LED is off, the junction temperature follows a cooling curve         that resembles: $\begin{matrix}         {T_{j} = {{\left( {T_{off} - T_{a}} \right){\mathbb{e}}^{\frac{- t}{\tau}}} + T_{a}}} & {{Equation}\mspace{14mu} 3}         \end{matrix}$         where T_(off) is the starting temperature of the junction when         the LED is turned off, T_(a) is the ambient air temperature and         τ is the thermal time constant of the LED.

Substituting Equation 2 into Equation 1 to produce an equation that relates relative light output to on time, the result has the form: RLOP(t _(on))=K ₁ e ^(K) ² ^(e) ^((−t/τ))   Equation 4

-   -   where: $\begin{matrix}         {K_{1} = {\mathbb{e}}^{\lbrack\frac{T_{c} - T_{\infty}}{T_{0}}\rbrack}} & {{Equation}\mspace{14mu} 5}         \end{matrix}$ $\begin{matrix}         {K_{2} = {\left\lbrack \frac{T_{\infty} - T_{on}}{T_{0}} \right\rbrack.}} & {{Equation}\mspace{14mu} 6}         \end{matrix}$

Note that since T_(∞) is the steady state value for the junction temperature, in normal operation T_(∞)≧T_(on) so that K₂ will always be greater than or equal to zero. Accordingly, as on time, t_(on), goes from zero to infinity, the RLOP decreases from K₁·exp(K₂) to K₁ along a curve that has the shape of an exponential to a positive exponential to a negative x (i.e. exp(exp(−t))). Also note that if constant power is input to the LED, T_(∞) will be a fixed amount above the ambient air temperature T_(a). This allows K₁ and K₂ to be expressed in terms of the ambient air temperature, T_(a), and another constant, T_(Δ). T_(Δ) is the temperature rise above ambient that the LED junction is at for a given power input, thermal resistance, and efficiency. Accordingly, K₁ and K₂ may be expressed as: $\begin{matrix} {K_{1} = {{\mathbb{e}}^{\lbrack\frac{T_{c} - T_{a} - T_{\Delta}}{T_{0}}\rbrack} = {{\mathbb{e}}^{\frac{- T_{\Delta}}{T_{0}}} \cdot {\mathbb{e}}^{\lbrack\frac{T_{c} - T_{a}}{T_{0}}\rbrack}}}} & {{Equation}\mspace{14mu} 7} \end{matrix}$ $\begin{matrix} {K_{2} = \left\lbrack \frac{T_{a} + T_{\Delta} - T_{on}}{T_{0}} \right\rbrack} & {{Equation}\mspace{14mu} 8} \end{matrix}$

Substituting equation 3 into equation 1 to produce an equation that relates relative light output to off time, the result has the same form as Equation 4 but different constants: RLOP(t _(off))=K ₃ e ^(K) ⁴ ^(e) ^((−t/τ))   Equation 9 where: $\begin{matrix} {K_{3} = {\mathbb{e}}^{\lbrack\frac{T_{c} - T_{a}}{T_{0}}\rbrack}} & {{Equation}\mspace{14mu} 10} \end{matrix}$ $\begin{matrix} {K_{4} = {\left\lbrack \frac{T_{a} - T_{off}}{T_{0}} \right\rbrack.}} & {{Equation}\mspace{14mu} 11} \end{matrix}$

Note that Ta is the steady state value for the junction temperature if the LED is off for a very long time and that in normal operation T_(off)≧T_(a). This means that K₄ will always be less than or equal to zero. Accordingly, as off time, t_(off), goes from zero to infinity, the RLOP increases from K₃·exp(K₄) (which is less or equal to K₃ since K_(4b≦0)) to K₃ along a curve that has the shape of an exponential to a negative exponential to a negative x (i.e. exp(−exp(−t))).

Equations 3 and 9 both have the form: RLOP(t)=K _(a) e ^(K) ^(b) ^(e) ^((−t/τ))   Equation 12

The Taylor series expansion of Equation 12 is: $\begin{matrix} {{K_{a}{\mathbb{e}}^{K_{b}{\mathbb{e}}^{({{- t}/\tau})}}} = {K_{a}\left\lbrack {1 + {K_{b}{\mathbb{e}}^{({{- t}/\tau})}} + \frac{K_{b}^{2}{\mathbb{e}}^{({{- 2}{t/\tau}})}}{2!} + \frac{K_{b}^{3}{\mathbb{e}}^{({{- 3}{t/\tau}})}}{3!} + \cdots} \right\rbrack}} & {{Equation}\mspace{14mu} 13} \end{matrix}$

Since the exponent is negative in all the e^(( . . . )) terms of the Taylor series expansion, they rapidly diminish in magnitude when t>τ or |K_(b)|<1. Therefore, when either of these conditions is true, Equation 12 can be approximated by: RLOP(t)=K _(a) e ^(K) ^(b) ^(e) ^((−t/τ)) ≈K _(a) [1+K _(b) e ^((−t/τ))]  Equation 14

Applying this same approximation to Equations 3 and 9 yields: RLOP(t _(on))=K ₁ e ^(K) ² ^(e) ^((−t/τ)) ≈K _(a) [1+K _(b) e ^((−t/τ))]=K₁ L ₁ K ₂ e ^((−t/τ))  Equation 15 RLOP(t _(off))=K ₃ e ^(K) ⁴ ^(e) ^((−t/τ)) ≈K _(a) [1+K _(b) e ^((−t/τ)) ]=K ₃ =K ₃ K ₄ e ^((−t/τ))  Equation 16

From the form of Equation 15, it can be seen that the relative light output while the LED is on will decrease in approximately an exponential fashion eventually approaching a limit value of K₁. The amount of decrease is set by the initial temperature of the junction, T_(on), each time the LED is turned on. T_(on) is embedding in K₂. Likewise, it can be seen from the form of Equation 16 that the relative light output when the LED is next turned on increases along a curve similar to 1−e^(x) while the LED is off (because K₄ is always negative) eventually approaching a limit value of K₃. The amount of increase is set by the initial temperature of the junction, T_(off), each time the LED is turned off. T_(off) is embedded in K₄. Finally, it is known that the relative light output does not change discontinuously at the instant the LED is turned on or off. Therefore, the initial conditions in K₂ and K₄ must be such that Equation 15 and Equation 16 are equal at each on-to-off and off-to-on transition.

The curves followed by Equations 15 and 16 have the same shape as the voltage across a capacitor being charged and discharged through a resistor. Likewise, a the voltage across a capacitor being charged and discharged does not change discontinuously during charging-to-discharging and discharging-to-charging transitions. Given these two conditions, the changes in the relative light output as an LED is switched on and off are modeled by this invention as a resistor-capacitor (RC) or inductor-resistor (LR) circuit. To model the relative light output with an RC circuit, the capacitor is charged through the resistor when the LED is off and discharged through the resistor when the LED is on. This RC model is shown in FIG. 2.

In FIG. 2, illumination control signal 116 is connected to a first terminal of resistor 202. The second terminal of resistor 202 is connected to the model output. The model output is analog voltage 118 that goes to the input of A/D converter 104. The second terminal of resistor 202 is also connected to the first terminal of capacitor 204. The second terminal of capacitor 204 is connected to the negative supply rail or some other reference voltage.

Illumination control signal 116 discharges capacitor 204 through resistor 202 when illumination control signal 116 is in a state that turns LED array 114 on. In FIG. 2, this is shown as a direct connection. However, depending on the polarity of the illumination control signal 116 a logical inversion or buffering may be necessary before it is applied to resistor 202.

To model the relative light output, an embodiment of the invention first charges the RC circuit to a known voltage level. This sets the initial condition of the model. This initial condition would normally be higher than the eventual discharged condition of the RC circuit because it is assumed that the LED junction is at the ambient air temperature and hence the relative light output is at its greatest level. Accordingly, the initial voltage across the capacitor of the RC circuit is at its greatest level when the relative light output is expected to be at its greatest level. During operation of the model, whenever the LED is on, the capacitor of the RC circuit is discharged through the resistor and whenever the LED is off, the capacitor of the RC circuit is charged through the resistor. This functions such that the voltage across the capacitor of the RC circuit tracks the change in relative light output from the relative light output when the LED junction was at the ambient temperature.

In an embodiment of the invention, the values for the resistor and capacitor are determined experimentally. A voltage level is arbitrarily chosen for the initial condition of the RC circuit that represents the light output when the LED brightest. To simplify design, this can be the positive power supply voltage. Likewise, a voltage level is arbitrarily chosen for the discharged state of the RC circuit that represents the light output when the LED is dimmest. To simplify design, this can be when the capacitor is fully discharged. The range of relative light output values that these two extremes represent is determined by the thermal properties of the entire illumination system and its packaging so this range is determined experimentally in the preferred embodiment.

When capture exposure system 100 is about to start an exposure it samples the voltage across capacitor 204 with A/D converter 104. This gives the system a modeled relative brightness. This modeled relative brightness is used along with a sampled ambient temperature to determine an exposure. The mapping of ambient temperature and modeled relative brightness to actual relative brightness performed by a lookup table in the preferred embodiment. The values of this lookup table may be determined experimentally or they may be calculated.

To calculate the values of this lookup table, Equation 1 is used as a starting point. $\begin{matrix} {{{RLOP}(T)} \equiv {\mathbb{e}}^{\lbrack\frac{- {({T - T_{c}})}}{T_{0}}\rbrack}} & {{Equation}\mspace{14mu} 1} \end{matrix}$

Re-writing T, which is the junction temperature, in terms of T_(a), T_(Δ) and a difference from maximum temperature factor, Δ_(T), produces: T=T _(∞)−Δ_(T) =T _(a) +T _(Δ)−Δ_(T)  Equation 17 substituting Equation 17 into Equation 1 produces: $\begin{matrix} {{{RLOP}(T)} \equiv {{\mathbb{e}}^{\lbrack\frac{- {({T_{a} + T_{\Delta} - \Delta_{T} - T_{c}})}}{T_{0}}\rbrack}.}} & {{Equation}\mspace{14mu} 18} \end{matrix}$

Since all the factors in Equation 18 except Ta are constant for different ambient temperatures, then the relative light output at an ambient temperature T_(a1) can be related to the relative light output at an ambient temperature T_(a2) for the same Δ_(T) by: $\begin{matrix} {{{LUT}\left( {T_{a2} - T_{a1}} \right)} = {\frac{{RLOP}\left( {T_{a2} + T_{\Delta} - \Delta_{T} - T_{c}} \right)}{{RLOP}\left( {T_{a1} + T_{\Delta} - \Delta_{T} - T_{c}} \right)} = {\mathbb{e}}^{T_{a2} - T_{a1}}}} & {{Equation}\mspace{14mu} 19} \end{matrix}$

Equation 19 can be used to construct a look-up table that produces a factor that is multiplied by the modeled relative brightness. The result of this multiplication produces actual relative brightness. This actual relative brightness is then used to calculate a capture exposure. One simple method of calculating the capture exposure is to divide the relative brightness by an exposure constant to produce an exposure time. Since the capture exposure is the total amount of light output by the LED integrated over time, this simple method produces a reasonably constant capture exposure over the range of LED brightness.

In the preferred embodiment, the capture exposure is adjusted by turning the LED array on for the capture exposure time. However, other methods of adjusting the capture exposure, such as opening and closing a shutter, may be used.

From the foregoing it will be appreciated that the capture exposure system and LED relative brightness model provided by the invention offers the advantages of simplicity and avoids the calculation of difficult exponential equations or continues integration by the control microprocessor. Furthermore, the system may be configured to a variety of thermal parameters or adapted to a variety of exposure control mechanisms.

Although several specific embodiments of the invention have been described and illustrated, the invention is not to be limited to the specific forms or arrangements of parts so described and illustrated. The invention is limited only by the claims. 

1. An article of manufacture comprising a program storage medium having computer readable program code means embodied therein for causing the adjustment of an exposure, the computer readable program code means in said article of manufacture comprising; computer readable program code means for causing a computer to read an indication of the brightness of an illumination source from a model; computer readable program code means for causing said computer to adjust said exposure based on said indication of said brightness of said illumination source.
 2. The article of manufacture of claim 1 further comprising: computer readable program code means for causing said computer to turn on and turn off said illumination source.
 3. The article of manufacture of claim 2 further comprising: computer readable program code means for causing said computer to indicate to said model the on times and off times of said illumination source.
 4. The article of manufacture of claim 3 further comprising: computer readable program code means for causing said computer to obtain an indication of an ambient temperature; and computer readable program code means for causing said computer to adjust said exposure based on said indication of said ambient temperature.
 5. The article of manufacture of claim 4 wherein said Illumination source is at least one light emitting diode.
 6. The article of manufacture of claim 5 wherein said model is a series resistor-capacitor circuit and said indication of said brightness of said illumination source is obtained from the voltage across said capacitor.
 7. The article of manufacture of claim 5 wherein said model is a series resistor-inductor circuit.
 8. An image capture device, comprising: illumination means; modeling means, said modeling means producing a modeling means output that is indicative of the relative brightness of said illumination means; and exposure adjustment means for changing an exposure to compensate for changes in said relative brightness of said illumination means as indicated by said modeling means output.
 9. The image capture device of claim 8 wherein said modeling means has a modeling means input and said modeling means input is an indication of the on times and the off times of said illumination means.
 10. The image capture device of claim 9, further comprising: ambient temperature sensor means for producing a sensed ambient temperature wherein said exposure is also changed to compensate for said sensed ambient temperature.
 11. The image capture device of claim 10 wherein said illumination means is at least one light emitting diode.
 12. The image capture device of claim 11 wherein said modeling means comprises at least a capacitor and a resistor.
 13. The image capture device of claim 11 wherein said modeling means comprises at least an inductor and a resistor.
 14. The image capture device of claim 11 wherein said exposure is adjusted by changing said on times of said illumination source. 